﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainSite.Master" AutoEventWireup="true" CodeBehind="TestingRadTreeListUserControlEdit.aspx.cs" Inherits="BSCMFF.Web.Pages.working.TestingRadTreeListUserControlEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<telerik:RadTreeList ID="RadTreeList1" runat="server" 
        ParentDataKeyNames="Manager_FK" DataKeyNames="ID" 
        AutoGenerateColumns="False" 
        DataSourceID="EntityDataSource1" 
        >
        
        <Columns>
            <telerik:TreeListBoundColumn DataField="Lastname" UniqueName="Name" HeaderText="Name" />
            
            
            <telerik:TreeListButtonColumn CommandName="Edit" Text="Edit"></telerik:TreeListButtonColumn>
        </Columns>
        
       <EditFormSettings EditFormType="WebUserControl" UserControlPath="~/UserControls/Details/KPIProgressDetails_new.ascx"  >
        </EditFormSettings>

    </telerik:RadTreeList>
    <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
        ConnectionString="name=BSCEntities" DefaultContainerName="BSCEntities" 
        EnableFlattening="False" EntitySetName="Users" 
        Select="it.[ID], it.[Firstname], it.[Lastname], it.[Email], it.[Manager_FK]">
    </asp:EntityDataSource>
</asp:Content>
